PokemonShape

@Serializable
data class PokemonShape(val id: Int, val name: String, val awesomeNames: List<AwesomeName>, val names: List<Name>, val pokemonSpecies: List<Handle.Named<PokemonSpecies>>) : NamedModel(source)

Shapes are used to determine a Pokémon's appearance and for search purposes. See: https://pokeapi.co/docs/v2#pokemonshape

Parameters

id

The identifier for this Pokémon shape resource.

name

The name for this Pokémon shape resource.

awesomeNames

The "scientific" name of this Pokémon shape listed in different languages.

names

The name of this Pokémon shape listed in different languages.

pokemonSpecies

A list of the Pokémon species that have this shape.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, awesomeNames: List<AwesomeName>, names: List<Name>, pokemonSpecies: List<Handle.Named<PokemonSpecies>>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard